[<tag id="resourcepath" type="meta" value="/DesktopModules/NBright/NBrightEspace/App_LocalResources/" />]
[Template:scriptincludes.html]
<script>
	
	$(function() {
		$.datepicker.setDefaults($.datepicker.regional[['en-GB']]);
		$('input[[name$="datepay"]]').datepicker();
    }); 

</script>
[<tag id="lblmsg" type="label"/>]
<div class="nwb-button-container">
[<tag id="cmdUpdate1" type="linkbutton" text=" Update" tooltip="Update" cssclass="nwb-button primary icon approve" commandname="Update" commandargument="ItemID"/>]&nbsp;
[<tag id="cmdCancel1" type="linkbutton" text=" Cancel" tooltip="Cancel" cssclass="nwb-button danger" commandname="Cancel" commandargument="ItemID" causesvalidation="False"/>]&nbsp;
[<tag id="cmdDelete1" type="linkbutton" text=" Delete" tooltip="Delete" cssclass="nwb-button danger icon remove" commandname="Delete" commandargument="ItemID" confirm="Delete Item?" />]&nbsp;
[<tag id="cmdAlloc" type="linkbutton" text=" Allocate" tooltip="Allocate Payments" cssclass="nwb-button primary icon reload" commandname="Alloc" commandargument="ItemID" />]
</div>
<div>
[<tag id="ItemID" type="hidden" value="databind:ItemID" />]
[<tag id="dteModifiedDate" type="hidden" value="" />]
[<tag id="paymentref" type="hidden" value="" />]
[<tag id="dblAllocatedAmt" type="hidden" value="" />]
<table class="normal" width="100%" border="0px" cellpadding="1px" cellspacing = "1px">
<tr>
<td align="right">Payment Ref : </td>
<td>[<tag type="valueof" xpath="genxml/hidden/paymentref" />]</td>
</tr>
<tr>
<td align="right">Type : </td>
<td>[<tag id="ddlType" type="dropdownlist" data="Cheque;Transfer;Online;Refund;Other" />]</td>
</tr>
<tr>
<td align="right">Payment Date : </td>
<td>[<tag id="datepay" type="textbox" datatype="date" width="90" />]
[<tag id="rvdatepay" ctrltype="rfvalidator" errormessage="Required Field" text="*" controltovalidate="datepay" />]</td>
</tr>
<tr>
<td align="right">Amount Payed : </td>
<td>[<tag id="txtAmtPay" type="textbox" width="100" maxlength="200" text="0" datatype="Double" />]
[<tag id="rvAmtPay1" ctrltype="rfvalidator" errormessage="Required Field" text="*" controltovalidate="txtAmtPay" />]
[<tag id="rvAmtPay2" ctrltype="rvalidator" errormessage="Amount Payed Error" text="ERR!" controltovalidate="txtAmtPay" minimumvalue="0" maximumvalue="9999999" rangetype="Currency"/>]&nbsp;Allocated Amt: [<tag id="lblallocatedamt" type="label" />]
</td>
</tr>
<tr>
<td align="right">Cheque Ref : </td>
<td>[<tag id="txtChequeRef" type="textbox" width="150" maxlength="50" />]</td>
</tr>
<tr>
<td colspan="4">[<tag id="txtNotes" type="textbox" height="100" width="400" maxlength="500" textmode="MultiLine" />]</td>
</tr>
</table>
[Template:ClientBasicSelect.html]
<br />
<font size="1px">Last Modified : [<tag type="valueof" xpath="genxml/hidden/dtemodifieddate" />]</font>
</div>